﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="UserManagement.aspx.cs"
    Inherits="Hisun.View.Management.UserManagement" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>无标题页</title>
    <style type="text/css">
        .style1
        {
        }
        .style2
        {
            height: 27px;
        }
        .style3
        {
            width: 235px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <table style="width: 100%;">
            <tr>
                <td colspan="3" class="style2">
                    <asp:Button ID="Button_Add" runat="server" OnCommand="Button_Add_Command" Text="增加" />
                </td>
                <td class="style2">
                </td>
            </tr>
            <tr>
                <td colspan="4">
                    <asp:Panel ID="Panel_Gridlist" runat="server">
                        <asp:GridView ID="GridView_Users" runat="server" AutoGenerateColumns="False" SkinID="gridview">
                            <Columns>
                                <asp:BoundField DataField="操作员ID" HeaderText="操作员ID" ReadOnly="True" SortExpression="操作员ID" />
                                <asp:BoundField DataField="操作员姓名" HeaderText="操作员姓名" ReadOnly="True" SortExpression="操作员姓名" />
                                <asp:BoundField DataField="责任部门ID" HeaderText="责任部门ID" ReadOnly="True" SortExpression="责任部门ID" />
                                <asp:BoundField DataField="创建时间" HeaderText="创建时间" ReadOnly="True" SortExpression="创建时间" />
                                <asp:BoundField DataField="修改时间" HeaderText="修改时间" ReadOnly="True" SortExpression="修改时间" />
                                <asp:CheckBoxField DataField="停用" HeaderText="停用" ReadOnly="True" SortExpression="停用" />
                                <asp:TemplateField>
                                    <ItemTemplate>
                                        <asp:Button ID="Button_Edit" runat="server" Text="编辑" 
                                            CommandArgument='<%# Eval("操作员ID") %>' oncommand="Button_Edit_Command" />
                                    </ItemTemplate>
                                </asp:TemplateField>
                            </Columns>
                        </asp:GridView>
                        <asp:LinkButton ID="LinkButton_First" runat="server" CommandArgument="First" OnClick="MyClick">&lt;&lt;</asp:LinkButton>
                        &nbsp;&nbsp;
                        <asp:LinkButton ID="LinkButton_Prev" runat="server" CommandArgument="Prev" OnClick="MyClick"> &lt;</asp:LinkButton>
                        &nbsp;&nbsp;
                        <asp:LinkButton ID="LinkButton_Next" runat="server" CommandArgument="Next" OnClick="MyClick">&gt;</asp:LinkButton>
                        &nbsp;&nbsp;
                        <asp:LinkButton ID="LinkButton_Last" runat="server" CommandArgument="Last" OnClick="MyClick"> &gt;&gt;</asp:LinkButton>
                        <asp:Label ID="Label_Total" runat="server" Text="共："></asp:Label>
                        <asp:Label ID="Label_CurrenPageAndTo" runat="server" Text="页，当前第 页，转到"></asp:Label>
                        <asp:TextBox ID="TextBox_PageIndex" runat="server" Width="26px"></asp:TextBox>
                        <asp:Label ID="Label4" runat="server" Text="页"></asp:Label>
                        <asp:RangeValidator ID="RangeValidator_PageIndex" runat="server" ControlToValidate="TextBox_PageIndex"
                            ErrorMessage="*" MaximumValue="10000" MinimumValue="1" Type="Integer"></asp:RangeValidator>
                        <asp:Button ID="Button_PageGo" runat="server" CommandArgument="GotoPage" OnClick="MyClick"
                            Text="GO" />
                    </asp:Panel>
                </td>
            </tr>
            <tr>
                <td class="style1" colspan="4">
                    &nbsp;
                    <asp:Panel ID="Panel_Edit" runat="server" Visible="False">
                        <table style="width:100%;">
                            <tr>
                                <td>
                                    <asp:Label ID="Label5" runat="server" Text="操作员ID："></asp:Label>
                                </td>
                                <td class="style3">
                                    <asp:TextBox ID="TextBox_UserId" runat="server"></asp:TextBox>
                                </td>
                                <td>
                                    &nbsp;</td>
                                <td>
                                    &nbsp;</td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:Label ID="Label6" runat="server" Text="操作员姓名："></asp:Label>
                                </td>
                                <td class="style3">
                                    <asp:TextBox ID="TextBox_UserName" runat="server"></asp:TextBox>
                                </td>
                                <td>
                                    &nbsp;</td>
                                <td>
                                    &nbsp;</td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:Label ID="Label7" runat="server" Text="责任作业中心ID："></asp:Label>
                                </td>
                                <td class="style3">
                                    <asp:TextBox ID="TextBox_CenterId" runat="server"></asp:TextBox>
                                    <asp:Button ID="Button_SelectCenter" runat="server" Text="..." 
                                        oncommand="Button_SelectCenter_Command" />
                                </td>
                                <td>
                                    <asp:Label ID="Label9" runat="server" Text="责任作业中心名称："></asp:Label>
                                </td>
                                <td>
                                    <asp:TextBox ID="TextBox_CenterName" runat="server"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:Label ID="Label10" runat="server" Text="停用："></asp:Label>
                                </td>
                                <td class="style3">
                                    <asp:CheckBox ID="CheckBox_StopFlag" runat="server" />
                                </td>
                                <td>
                                    &nbsp;</td>
                                <td>
                                    &nbsp;</td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:Button ID="Button_Save" runat="server" oncommand="Button_Save_Command" 
                                        Text="保存" />
                                    <asp:Button ID="Button_Cancel" runat="server" oncommand="Button_Cancel_Command" 
                                        Text="取消" />
                                </td>
                                <td class="style3">
                                    &nbsp;</td>
                                <td>
                                    &nbsp;</td>
                                <td>
                                    &nbsp;</td>
                            </tr>
                        </table>
                    </asp:Panel>
                </td>
            </tr>
            <tr>
                <td class="style1">
                    <asp:HiddenField ID="EditFlag" runat="server" Value="0" />
                </td>
                <td>
                    <asp:HiddenField ID="CurrentPage" runat="server" Value="0" />
                </td>
                <td>
                    &nbsp;
                </td>
                <td>
                    &nbsp;
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
